/**
 * 2010(c) Copyright Oceansoft Information System Co.,LTD. All rights reserved.
 * <p>
 * Compile: JDK 1.6+
 * <p>
 * 版权所有(C)：江苏欧索软件有限公司
 * <p>
 * 公司名称：江苏欧索软件有限公司
 * <p>
 * 公司地址：中国苏州科技城青山路1号
 * <p>
 * 网址: http://www.oceansoft.com.cn
 * <p>
 * 作者: 090922(陈伟)
 * <p>
 * 文件名: com.oceansoft.mobile.econsole.modules.api.entity.ApiUser.java
 * <p>
 * 类产生时间: 2014-5-8 下午 15:18
 * <p>
 * 负责人: 090922(陈伟)
 * <p>
 * Email:javacspring@gmail.com
 * <p>
 * 所在组 : 掌上公安应用平台
 * <p>
 * 所在部门: 开发部--手持技术部
 * <p>
 * <p>
 */
package com.oceansoft.mobile.econsole.modules.member.entity;

import java.util.Date;

/**
 * 客户端用户实体类
 *
 * @author: chenw
 * @time: 2014-5-8 下午 15:18
 */
public class Member {

    //用户来源
    public final static int MEMBER_SRC_APP = 1; //移动门户用户
    public final static int MEMBER_SRC_WT = 2; //网厅用户

    //用户状态
    public final static int MEMBER_STATUS_LOCK = 2; //锁定状态
    public final static int MEMBER_STATUS_NORMAL = 0; //正常状态
    public final static int MEMBER_STATUS_DISABLE = 1; //禁用状态

    //用户类型
    public final static int MEMBER_TYPE_QY = 0; //企业用户
    public final static int MEMBER_TYPE_GR = 1; //个人用户
    public final static int MEMBER_TYPE_MJ = 3; //民警用户

    private int id;
    private String openId;// 微信端、支付宝端城市服务接入，验证openId
    private String loginId;         //必填
    private String password;
    private String realName;
    private String oauthToken;
    private String email = "";
    private int gender = 1;
    private String address = "";
    private String mobile;
    private int status;
    private Date regTime = new Date();
    private Date birthday = new Date();
    private String tel = "";
    private String idCard = "";
    private int type = 1;//用户类型 0:未注册用户 1:注册用户 2:实名认证用户
    private String validateCode;//验证码
    private int sort;
    private String guid = "";
    private Date loginTime = new Date();      //最后登陆时间
    private String userSrc = "1";         //用户来源 1:门户用户 2:网厅用户
    private String passport = "";     //护照
    private String uidTw = "";        //台胞证
    private String orgId = "";        //组织机构编号
    private String corporate = "";   //法人
    private String corporateIdCard = "";//法人身份证号
    private String contacts = "";     //联系人
    private String lpn = "";          //车牌号
    private String vin = "";          //车驾号
    private String drivingLic = "";  //驾驶证号
    private String fileId = "";      //档案编号
    private int unit = 1;           //网厅    0：企业用户      1：个人用户
    private int isPolice;//是否民警：0不是民警，1是民警
    private String identifystatus; //实名认证结果 0：未认证 1：认证通过 2：认证中 -9认证不通过
    private String certificate;
    private Date csny;//认证时间

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getLoginId() {
        return loginId;
    }

    public void setLoginId(String loginId) {
        this.loginId = loginId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getGender() {
        return gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Date getRegTime() {
        return regTime;
    }

    public void setRegTime(Date regTime) {
        this.regTime = regTime;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getValidateCode() {
        return validateCode;
    }

    public void setValidateCode(String validateCode) {
        this.validateCode = validateCode;
    }

    public String getOauthToken() {
        return oauthToken;
    }

    public void setOauthToken(String oauthToken) {
        this.oauthToken = oauthToken;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public String getGuid() {
        return guid;
    }

    public void setGuid(String guid) {
        this.guid = guid;
    }

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    public String getUserSrc() {
        return userSrc;
    }

    public void setUserSrc(String userSrc) {
        this.userSrc = userSrc;
    }

    public String getPassport() {
        return passport;
    }

    public void setPassport(String passport) {
        this.passport = passport;
    }

    public String getUidTw() {
        return uidTw;
    }

    public void setUidTw(String uidTw) {
        this.uidTw = uidTw;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getCorporate() {
        return corporate;
    }

    public void setCorporate(String corporate) {
        this.corporate = corporate;
    }

    public String getCorporateIdCard() {
        return corporateIdCard;
    }

    public void setCorporateIdCard(String corporateIdCard) {
        this.corporateIdCard = corporateIdCard;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getLpn() {
        return lpn;
    }

    public void setLpn(String lpn) {
        this.lpn = lpn;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getDrivingLic() {
        return drivingLic;
    }

    public void setDrivingLic(String drivingLic) {
        this.drivingLic = drivingLic;
    }

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public int getUnit() {
        return unit;
    }

    public void setUnit(int unit) {
        this.unit = unit;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public int getIsPolice() {
        return isPolice;
    }

    public void setIsPolice(int isPolice) {
        this.isPolice = isPolice;
    }

    public String getIdentifystatus() {
        return identifystatus;
    }

    public void setIdentifystatus(String identifystatus) {
        this.identifystatus = identifystatus;
    }

    public Date getCsny() {
        return csny;
    }

    public void setCsny(Date csny) {
        this.csny = csny;
    }

    public String getCertificate() {
        return certificate;
    }

    public void setCertificate(String certificate) {
        this.certificate = certificate;
    }
}